<?php
##################################################
#						phpquran 
#
# Filename : index.php 
# purpose :  home page  .
# copyright 2007-2009
# license http://opensource.org/licenses/gpl-license.php GNU Public License
##################################################

	// security .. 
	define ( 'IN_INDEX' , true);
	//include imprtant file .. 
	include ('includes/common.php');
	
		$query = $SQL->build(array('SELECT' => '*',
								'FROM'	=> "{$dbprefix}reciter",
								));

while($result = $SQL->fetch_array($query))
{
	$arr[] = array(
	'reciter_name' => $result["reciter_name"],
	'reciter_id'   => $result["reciter_id"],
	'reciter_en'   => $result["reciter_en"],
	);
}
$reciter_f_name = (!empty($config['fn'])) ? $config['fn'] : '';
$reciter_f_id = (!empty($config['fr'])) ? $config['fr'] . '.xml' : 'xml.php';
$SQL->freeresult($result);


	
		//for show .. 
		//header
		Saaheader($lang['HOME']);
			//index
			echo $tpl->display("index_body");
		//footer
		
		Saafooter();
	

?>